//
//  FJTabBarViewController.swift
//  FruitJuice
//
//  Created by Rae on 2023/12/15.
//

import UIKit

class FJTabBarViewController: UITabBarController {

    override func viewDidLoad() {
        super.viewDidLoad()

        self.tabBar.backgroundImage = UIImage()
        self.tabBar.backgroundColor = .white
    }

}

extension FJTabBarViewController: UITabBarControllerDelegate {
    //是否可以点击
    func tabBarController(_ tabBarController: UITabBarController, shouldSelect viewController: UIViewController) -> Bool {
        return true
    }
    //点击其他四个item 代理方法
    func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController)   {
      
    }
}

